projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c2dd4c
)
video: Add an enum for active low/high
author
Simon Glass
<
[email protected]
>
Mon, 22 Feb 2016 04:08:50 +0000
(21:08 -0700)
committer
Minkyu Kang
<
[email protected]
>
Wed, 25 May 2016 04:25:18 +0000
(13:25 +0900)
This is used for video signals in some drivers so provide a standard way
of representing it in an enum.
Signed-off-by: Simon Glass <
[email protected]
>
Acked-by: Anatolij Gustschin <
[email protected]
>
Signed-off-by: Minkyu Kang <
[email protected]
>
include/video.h
patch
|
blob
|
history
diff --git
a/include/video.h
b/include/video.h
index c434bc71ae5601ee4ad0a0fcf73680a663cf98b2..0d5bd21c600e7fe503617ca0017419f0f819a090 100644
(file)
--- a/
include/video.h
+++ b/
include/video.h
@@
-23,6
+23,11
@@
struct video_uc_platdata {
ulong base;
};
+enum video_polarity {
+ VIDEO_ACTIVE_HIGH, /* Pins are active high */
+ VIDEO_ACTIVE_LOW, /* Pins are active low */
+};
+
/*
* Bits per pixel selector. Each value n is such that the bits-per-pixel is
* 2 ^ n